<?php date_default_timezone_set('Australia/Brisbane'); ?>
<script src="<?php echo base_url(); ?>assets/js/assessment.js"></script>

<div id="assessment_publication">
	<form id="assessment_form" name="modifyitem" action="<?php echo site_url('assessment/create'); ?>" method="post">
	<div id="warnbox" style="display:none;">Please Ensure That All Fields Are Filled.</div>
	<input id="txttitle" name="title" type="text" value="">
	<span id="between"> : Due on</span>
	<input id="txtdued" name="date" type="text" value="<?php echo date('d/m/Y'); ?>">
	<span id="between">by</span>
	<input id="txtduet" name="time" type="text" value="23:59">
	<p class="lblabove">Description:</p>
	
	<textarea id="txtdesc" name="desc"></textarea>
	<p id="lblweig">Weight:</p><input id="txtweig" name="weight" type="text" value="" /><p id="weigper">% 
		<?php
		$weight_left = 100 - (int)$total_weight;
		echo '- ( Max: <i id="weight_max">'.$weight_left.'</i>% )'
		?>
	</p>
	
	<a id="butpub" href="#">Publish Assessment</a>
	<a id="butcan" href="<?php echo site_url('/assessment/'); ?>">Cancel</a>
	</form>
</div>
